package com.yunxi.dao.dealer;

import com.yunxi.core.dao.BaseMapperPlus;
import com.yunxi.dealer.pojo.PartnerAccountOneVO;
import com.yunxi.dealer.pojo.PartnerAccountVO;
import com.yunxi.model.dealer.PartnerAccount;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 渠道商帐户 Mapper 接口
 * </p>
 *
 * @author
 * @since 2019-05-16
 */
public interface PartnerAccountMapper extends BaseMapperPlus<PartnerAccount> {

   List load(@Param("partnerCode")String partnerCode);

   List<PartnerAccountOneVO> listByGroup(PartnerAccountVO partnerAccountVO);

   void updateBatch(List<PartnerAccountVO> partnerAccountVOList);
}
